package com.capgemini.scaffold.model.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 修改人员信息入参
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserUpdateReq implements Serializable{

    @ApiModelProperty(value = "用户id")
    @TableId(type = IdType.AUTO)
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户密码")
    private String userPassword;

    @ApiModelProperty(value = "用户手机号")
    private String userPhone;

    @ApiModelProperty(value = "用户邮箱")
    private String userEmail;

    @ApiModelProperty(value = "员工账号")
    private String userAccount;

    @ApiModelProperty(value = "更新时间")
    private Date userUpdateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
